#pragma once

#ifdef SHARE_EXPORTS
#define ShareApi extern "C" __declspec(dllexport)
#define ShareVar extern __declspec(dllexport)
#define ShareClass __declspec(dllexport)
#else
#pragma comment(lib, "Share.lib")
#define ShareApi extern "C" __declspec(dllimport)
#define ShareVar extern __declspec(dllimport)
#define ShareClass __declspec(dllimport)
#endif
